package vip.xiaonuo.biz.modular.pojo.dto.edit;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BrandEditDTO {
    @NotBlank(message = "id不能为空！")
    private String firstLetter;

    @NotBlank(message = "id不能为空！")
    private String id;
    /**
     * 品牌名称
     */
    @NotBlank(message = "品牌名称不能为空！")
    private String brandName;

    /**
     * 品牌描述
     */
    @NotBlank(message = "品牌描述不能为空！")
    private String brandDesc;

    @NotBlank(message = "是否改变新logo不能为空！")
    private String isChangeImg;


    @ApiModelProperty(value = "文件",required = true)
    private MultipartFile imgUrl;

    /**
     * 排序
     */
    private Integer sort;
    private String brandStatus;
}
